package com.ax.system.service.question;

import com.ax.common.core.domain.R;
import com.ax.common.core.domain.TableDataInfo;
import com.ax.system.domain.question.Question;
import com.ax.system.domain.question.dto.QuestionAddDTO;
import com.ax.system.domain.question.dto.QuestionEditDTO;
import com.ax.system.domain.question.dto.QuestionQueryDTO;
import com.ax.system.domain.question.vo.QuestionDetailVO;
import com.ax.system.domain.question.vo.QuestionVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @param
 * @date 2025/5/8 15:12
 * @return
 */
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);
    int add(@RequestBody QuestionAddDTO questionAddDTO);
    QuestionDetailVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}
